#include <iostream>
#include <iomanip>
#include <conio.h>
#include <Windows.h>
using namespace std;

#include "Vector3D.h"
#include "MovingObject.h"

void PressAnyKeyToContinue();

//int main()
//{
//	//bob is our moving object
//	MovingObject bob;
//	float timeIncrement = .01f;
//
//	bob.setPosition(1, 5, 9);
//	bob.setTarget(10, -2, 50);
//	bob.setSpeed(10);
//
//	//When this project is complete, calculate will find the net velocity in case multiple steering functions
//	//are used at once. Right now, Calculate() simply executes Seek()
//	bob.Calculate();
//
//	//loops while bob is not at the target
//	//this while loop is for testing purposes for Seek(). Other steering behaviors might require different conditions
//	while(!bob.isAtTarget())
//	{
//		//update bob's position
//		bob.Update(timeIncrement);
//		cout << bob.getPosition() << endl;
//		//if we wanted directx, we could keep all this logic and just have a render function called here
//		//bob.render_frame();
//	}
//	cout << "Done! Bob has reached: " << bob.getPosition() << endl;
//
//	PressAnyKeyToContinue();
//
//	return 0;
//}


void PressAnyKeyToContinue()
{
	while(!_kbhit())
	{
		Sleep(1000);
	}
}